package com.thwj.project.app.event;

import com.thwj.project.biz.domain.Dynamic;
import lombok.Builder;
import lombok.Data;

@Builder
@Data
public class DynamicOperateEvent {

    public enum DynamicOperateType{
        /***
         * 发布
         */
        PUBLISH,
        /***
         * 浏览
         */
        LOOK,
        /***
         * 点赞
         */
        GOOD,
        /***
         * 取消点赞
         */
        CANCEL_GOOD,
        /***
         * 评论
         */
        COMMENT,
        /***
         * 删除评论
         */
        DELETE_COMMENT
    }


    private Long userId;
    private Dynamic dynamic;

    private DynamicOperateType operateType;
}
